// 引入mockjs
import Mock from 'mockjs';
// 使用mockjs模拟数据
Mock.mock('http://localhost:8080/api/login', {
  token: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9', // 随机生成姓名
  admin_id: '1', // 随机生成邮箱
  menu: [
    {
      menuid: 2,
      label: '内容管理',
      icon: 's-order',
      name: '',
      url: '',
      path: '',
      children: [
        {
          menuid: 4,
          label: '新房管理',
          icon: 'school',
          name: '新房管理',
          url: '#二级菜单#',
          path: null,
          children: [
            {
              menuid: 5,
              label: '楼盘管理',
              icon: 'school',
              name: '',
              url: 'build/BuilDing',
              path: 'build/BuilDing',
            },
            {
              menuid: 91,
              label: '楼盘抓取',
              icon: 'thumb',
              name: '',
              url: 'build/GrabList',
              path: 'build/grablist',
            },
          ],
        },
        {
          menuid: 15,
          label: '楼市管理',
          icon: 'office-building',
          name: '',
          url: '',
          path: '',
          children: [
            {
              menuid: 16,
              label: '录入资讯',
              icon: 'thumb',
              name: '',
              url: 'market/AddMarket',
              path: 'market/AddMarket',
            },
            {
              menuid: 17,
              label: '资讯列表',
              icon: 'document',
              name: '',
              url: 'market/MarketList',
              path: 'market/MarketList',
            },
          ],
        },
        {
          menuid: 77,
          label: '知识库管理',
          icon: 'collection',
          name: '',
          url: '',
          path: '',
          children: [
            {
              menuid: 78,
              label: '知识库分类',
              icon: 's-order',
              name: '',
              url: 'knowledge/KnowList',
              path: 'knowledge/knowlist',
            },
            {
              menuid: 86,
              label: '文章列表',
              icon: 's-order',
              name: '',
              url: 'knowledge/KnowArticle',
              path: 'knowledge/Knowarticle',
            },
          ],
        },
        {
          menuid: 81,
          label: '信息流管理',
          icon: 's-marketing',
          name: '',
          url: '',
          path: '',
          children: [
            {
              menuid: 82,
              label: '楼盘信息流',
              icon: 's-marketing',
              name: '',
              url: 'information/Information',
              path: 'information/information',
            },
            {
              menuid: 90,
              label: '友情链接',
              icon: 'paperclip',
              name: '',
              url: 'information/Paperclip',
              path: 'information/paperclip',
            },
          ],
        },
        {
          menuid: 87,
          label: '问答管理',
          icon: 's-opportunity',
          name: '',
          url: '',
          path: '',
          children: [
            {
              menuid: 88,
              label: '问答分类',
              icon: 's-opportunity',
              name: '',
              url: 'answers/List',
              path: 'answers/list',
            },
            {
              menuid: 89,
              label: '问题列表',
              icon: 'edit',
              name: '',
              url: 'answers/AnswersList',
              path: 'answers/answerslist',
            },
          ],
        },
        {
          menuid: 107,
          label: '数据中心',
          icon: 'data-line',
          name: '数据中心',
          url: 'dataV/dataseo',
          path: 'dataV/dataseo',
          children: [
            {
              menuid: 108,
              label: '指标考核',
              icon: 'school',
              name: '指标考核',
              url: 'dataV/leader',
              path: 'dataV/leader',
            },
            {
              menuid: 109,
              label: '数据中心',
              icon: 'data-line',
              name: '数据中心',
              url: 'dataV/dataseo',
              path: 'dataV/dataseo',
            },
            {
              menuid: 112,
              label: '营销页分析',
              icon: 'school',
              name: '营销页分析',
              url: 'dataV/datayx',
              path: 'dataV/datayx',
            },
            {
              menuid: 113,
              label: '大区数据',
              icon: 'school',
              name: '大区数据',
              url: 'dataV/areadata',
              path: 'dataV/areadata',
            },
          ],
        },
      ],
    },
    {
      menuid: 26,
      label: '系统设置',
      icon: 'setting',
      name: '',
      url: '',
      path: '',
      children: [
        {
          menuid: 25,
          label: '公司管理',
          icon: 'setting',
          name: '',
          url: '',
          path: '',
          children: [
            {
              menuid: 23,
              label: '商户管理',
              icon: 'message-solid',
              name: '',
              url: 'setting/Form',
              path: 'setting/Form',
            },
            {
              menuid: 102,
              label: '部门管理',
              icon: 'setting',
              name: '',
              url: 'setting/depment',
              path: 'setting/depment',
            },
            {
              menuid: 103,
              label: '员工管理',
              icon: 'setting',
              name: '',
              url: 'setting/staff',
              path: 'setting/staff',
            },
            {
              menuid: 104,
              label: '角色管理',
              icon: 'setting',
              name: '',
              url: 'setting/Auto',
              path: 'setting/Auto',
            },
            {
              menuid: 105,
              label: '管理员管理',
              icon: 'setting',
              name: '',
              url: 'setting/User',
              path: 'setting/user',
            },
          ],
        },
        {
          menuid: 37,
          label: '系统管理',
          icon: 'setting',
          name: '',
          url: '',
          path: '',
          children: [
            {
              menuid: 73,
              label: '区域管理',
              icon: 's-flag',
              name: '',
              url: 'setting/Region',
              path: 'setting/region',
            },
            {
              menuid: 38,
              label: '菜单列表',
              icon: 's-grid',
              name: '',
              url: 'setting/Menulist',
              path: 'setting/menulist',
            },
          ],
        },
        {
          menuid: 74,
          label: '400来电',
          icon: 'phone-outline',
          name: '',
          url: '',
          path: '',
          children: [
            {
              menuid: 79,
              label: '通话记录',
              icon: 'phone-outline',
              name: '',
              url: 'setting/Record',
              path: 'setting/record',
            },
            {
              menuid: 75,
              label: '主机号列表',
              icon: 'phone',
              name: '',
              url: 'setting/Host',
              path: 'setting/host',
            },
            {
              menuid: 76,
              label: '分机号设置',
              icon: 'phone',
              name: '',
              url: 'setting/Extension',
              path: 'setting/extension',
            },
            {
              menuid: 101,
              label: '站点分机号',
              icon: 's-grid',
              name: '',
              url: 'setting/admintel',
              path: 'setting/adminTel',
            },
          ],
        },
      ],
    },
    {
      menuid: 67,
      label: '业务管理',
      icon: 's-data',
      name: '',
      url: 'customer/Datatail',
      path: 'customer/datatail',
      children: [
        {
          menuid: 68,
          label: '客户管理',
          icon: 'user-solid',
          name: '',
          url: 'customer/Datatail',
          path: 'customer/datatail',
          children: [
            {
              menuid: 70,
              label: '管家管理',
              icon: 'medal',
              name: '',
              url: 'customer/Keeper',
              path: 'customer/keeper',
            },
            {
              menuid: 69,
              label: '客户总表',
              icon: 's-data',
              name: '',
              url: 'customer/Datatail',
              path: 'customer/datatail',
            },
          ],
        },
      ],
    },
    {
      menuid: 92,
      label: '推广管理',
      icon: 'files',
      name: '',
      url: '',
      path: '',
      children: [
        {
          menuid: 93,
          label: '营销页管理',
          icon: 'files',
          name: '',
          url: '',
          path: '',
          children: [
            {
              menuid: 94,
              label: '推广账户',
              icon: 'document-add',
              name: '',
              url: 'extension/List',
              path: 'extension/list',
            },
            {
              menuid: 95,
              label: '分电记录',
              icon: 'receiving',
              name: '',
              url: 'extension/Region',
              path: 'extension/region',
            },
            {
              menuid: 97,
              label: '专题列表',
              icon: 'document-add',
              name: '',
              url: 'extension/Special/index',
              path: 'extension/special/index',
            },
          ],
        },
        {
          menuid: 110,
          label: '推广设置',
          icon: 'files',
          name: '',
          url: '',
          path: '',
          children: [
            {
              menuid: 111,
              label: '黑名单管理',
              icon: 'files',
              name: '黑名单管理',
              url: 'extension/blacklist',
              path: 'extension/blacklist',
            },
          ],
        },
      ],
    },
    {
      menuid: 96,
      label: '查看手机号',
      icon: '',
      name: '',
      url: '',
      path: '',
    },
    {
      menuid: 99,
      label: '我的领地',
      icon: 'wind-power',
      name: '',
      url: '',
      path: '',
      children: [
        {
          menuid: 98,
          label: '创作中心',
          icon: 's-check',
          name: '',
          url: '',
          path: '',
          children: [
            {
              menuid: 100,
              label: '内容管理',
              icon: 'collection',
              name: '',
              url: 'territory/article/article-list',
              path: 'territory/article/article-list',
            },
            {
              menuid: 106,
              label: '获客列表',
              icon: '',
              name: '',
              url: 'territory/article/user-list',
              path: 'territory/article/user-list',
            },
          ],
        },
      ],
    },
  ],
  truename: '昝殿慧',
});